getting a column that corresponds to the average of two columns in pandas

29

df_mean = df[["a", "b"]].mean()

Comments

Submit
0 Comments